.diff-options-component {
  position: relative;
  display: flex;

  > button {
    -webkit-appearance: none;
    font-family: inherit;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    flex-direction: row;

    color: var(--text-color);

    &:hover {
      color: var(--text-secondary-color);
    }

    .octicon {
      margin-right: 0;
    }
  }

  .call-to-action-bubble {
    font-weight: var(--font-weight-semibold);
    display: inline-block;
    font-size: var(--font-size-xs);
    border: 1px solid var(--call-to-action-bubble-border-color);
    color: var(--call-to-action-bubble-color);
    padding: 1px 5px;
    border-radius: var(--border-radius);
    margin-left: var(--spacing-third);
  }

  label {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  h3 {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  section + section {
    margin-top: var(--spacing);
  }

  section.button-group {
    display: flex;
    flex-direction: row;
  }

  .popover {
    font-size: var(--font-size);
    font-family: var(--font-family-sans-serif);

    position: absolute;
    left: 28px;
    margin-left: -250px;
    top: 27px;
    z-index: var(--foldout-z-index);

    background: var(--background-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    border: var(--base-border);

    padding: var(--spacing-double);
    width: 250px;

    box-shadow: var(--base-box-shadow);

    // Carets
    &::before,
    &::after {
      position: absolute;
      right: 20px;
      display: inline-block;
      content: '';
      pointer-events: none;
    }

    &::before {
      top: -16px;
      margin-right: -9px;
      border: 8px solid transparent;
      border-bottom-color: var(--box-border-color);
    }

    &::after {
      top: -14px;
      margin-right: -8px;
      border: 7px solid transparent;
      border-bottom-color: var(--background-color);
    }
  }
}
